Palladio Simulation
Companioning paper written by Frank Brüseke, Henning Wachsmuth, Steffen Becker, Gregor Engels
Licenses and Copyright
- The scripts and models on this website are made available under the regulations of the GNU Lesser General Public License LGPL
-
The data sets, the resulting diagrams and tables, and also this website are made available under the regulations
of the Creative Commons Attribution-ShareAlike 3.0 Unported License
Prerequisites
- Install Palladio 3.3: http://sdqweb.ipd.kit.edu/wiki/PCM_3.3
- Start Palladio 3.3
- Create a Workspace-Directory "<WS-dir>"
- Download the Palladio-Models for the Palladio 3.3 workbench: [Zip]
- Unpack the Palladio-Models in <WS-dir>
- Be sure you know the path to your dedicated folder "<dataPath>", where you keep all example data and scripts
Steps
Run simulation
- Import the project into your workspace:
- In the menu choose "File" => "Import ..."
-
- Select <WS-dir> in the field "Select root directory" and choose the project named "UIMA-7partPipe" in Projects field. Then click "Finish".
- Start the simulation:
- In the menu choose "Run" => "Run Configurations ..."
- Add a new "SimuBench" entry
- Specify the allocation model file from the workspace, use "/UIMA-7partPipe/7PartPipe-EX01.allocation"
- Specify the usage model file from the workspace, use
"/UIMA-7partPipe/7PartPipe-EX01.usagemodel"

- Go to "SimuCom" tab of the run configuration
- Set "Maximum simulation time" to 1250000 (limit will not be reached), and set "Maximum measurement count" to 2000
- Select a Data source (use "Browse"-button in picture).
So, either create a file data source (file-based storage in a sub-folder) for persistent measurement storage or use the memory data source. Also set the "Experiment name" to "7PartPipe-EX01".
- Save your settings with the "Apply"-Button and hit "Run" to start the simulation
Browse simulation results
- Open the "PCM Results" perspective:
- In the menu click "Window" => "Open Perspective" => "Other ..."
- In the popup window choose "PCM Results" and click "OK"
- Open the data source that you used for simulation, open the experiment
with name "7PartPipe-EX01" (unless you chose another name; default: "MyRun"), open "Experiment
Runs", finally pick the experiment you just started and open that too.
- You will see a big list of sensor. Some of these do not contain any
data these sensors are marked with the word "EMPTY". Scroll down until
you find sensors that have data in them.

- Double click on a sensor to display diagrams showing the measured values. (Note: R visualization will not work as you need to couple R with Palladio for that)
- As a last step export the response time data series for all the non-empty sensors. For each sensor right-click on them and choose "Save as CSV". Then select a sub-folder of <dataPath> to save the data series. In the result analysis part we will reference the sub-folder as "<dataPath>/<palladioData>"

